<%@ page contentType="text/html; charset=utf-8" %>
<%
   String llevel=(String)session.getAttribute("alevel");
 %>
<html>
  <head>
	<title>登录</title>
	<link rel=stylesheet href="css/style.css" type="text/css">
	<script language="JavaScript" src="script/com.js"></script>
	<script language="JavaScript">
		function check(){
			var lname = document.all.lname.value;
			var lpwd = document.all.lpwd.value;
			if(lname.trim()==""){
				alert("用户名为空,请重新输入!!!");
				return;
			}
			if(lpwd.trim()==""){
				alert("密码为空,请重新输入!!!");
				return;
			}
			document.all.ss.submit();
		}
	</script>
  </head>
  <body style="background:url(./img/dbg.png);background-size: cover">
    <div class="login_style" style="background:url(./img/xbg.png);background-repeat:no-repeat;background-size: cover">
	  <form action="SuperServlet" method="post" id="ss" >
	    <table align="center" cellpadding="0" cellspacing="0" height= 100px style="left: 1px; width: 500px;">
	    <tr>
	    <td align="center"><div align="center" style="font-weight: bold; font-size: 30pt;">物业缴费系统</div></td></tr>
	    </table>
	    <table height=300px style="left: 1px; width: 500px;">
	    <tr align="center" style="font-size:18px">
	        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名：<input type="text" style="font-size:19px"id="lname" name="lname" /></td>
	      </tr>
	      <tr align="center" style="font-size:18px">
	        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;码：<input  style="font-size:18px" type="password" id="lpwd" name="lpwd" /></td>
	      </tr>
	       <tr align="center" style="font-size:18px">
          <td>身&nbsp;份：<label><select name="choose" id="choose" style="font-size:18px">
                      <option value="-1" selected="selected">请选择登陆身份</option>
                      <option value="普通">业主</option>
                      <option value="超级">管理员</option>
              </select>
  		   </label>
  		</td>
       </tr>
	      <tr>
	        <td colspan="2" align="center" valign="top">
	        <input type="button" value="登录" id="lg" onclick="JavaScript:check()" style="cursor:hand"/> &nbsp;
	        <input type="button" value="重置" id="cz" onclick="JavaScript:document.all.ss.reset()" style="cursor:hand"/></td>
	      </tr>
	    </table>
	    <input type="hidden" name="action" value="login"/>
	  </form>
	</div>
  </body>
</html>